!function(t){"use strict";var r=Object.prototype;var e=r.hasOwnProperty;var n;var o=typeof Symbol==="function"?Symbol:{};var i=o.iterator||"@@iterator";var a=o.asyncIterator||"@@asyncIterator";var c=o.toStringTag||"@@toStringTag";var u=t.regeneratorRuntime={};function f(t,r,e,n){var o=r&&r.prototype instanceof d?r:d;var i=Object.create(o.prototype);var a=new N(n||[]);i._invoke=O(t,e,a);return i}u.wrap=f;function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}var s="suspendedStart";var l="suspendedYield";var v="executing";var p="completed";var y={};function d(){}function g(){}function m(){}var w={};w[i]=function(){return this};var L=Object.getPrototypeOf;var x=L&&L(L(P([])));if(x&&x!==r&&e.call(x,i)){w=x}var E=m.prototype=d.prototype=Object.create(w);g.prototype=E.constructor=m;m.constructor=g;m[c]=g.displayName="GeneratorFunction";function b(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}u.isGeneratorFunction=function(t){var r=typeof t==="function"&&t.constructor;return r?r===g||(r.displayName||r.name)==="GeneratorFunction":false};u.mark=function(t){if(Object.setPrototypeOf){Object.setPrototypeOf(t,m)}else{t.__proto__=m;if(!(c in t)){t[c]="GeneratorFunction"}}t.prototype=Object.create(E);return t};u.awrap=function(t){return{__await:t}};function _(t){function r(n,o,i,a){var c=h(t[n],t,o);if(c.type==="throw"){a(c.arg)}else{var u=c.arg;var f=u.value;if(f&&typeof f==="object"&&e.call(f,"__await")){return Promise.resolve(f.__await).then(function(t){r("next",t,i,a)},function(t){r("throw",t,i,a)})}return Promise.resolve(f).then(function(t){u.value=t;i(u)},a)}}var n;function o(t,e){function o(){return new Promise(function(n,o){r(t,e,n,o)})}return n=n?n.then(o,o):o()}this._invoke=o}b(_.prototype);_.prototype[a]=function(){return this};u.AsyncIterator=_;u.async=function(t,r,e,n){var o=new _(f(t,r,e,n));return u.isGeneratorFunction(r)?o:o.next().then(function(t){return t.done?t.value:o.next()})};function O(t,r,e){var n=s;return function o(i,a){if(n===v){throw new Error("Generator is already running")}if(n===p){if(i==="throw"){throw a}return F()}e.method=i;e.arg=a;while(true){var c=e.delegate;if(c){var u=j(c,e);if(u){if(u===y)continue;return u}}if(e.method==="next"){e.sent=e._sent=e.arg}else if(e.method==="throw"){if(n===s){n=p;throw e.arg}e.dispatchException(e.arg)}else if(e.method==="return"){e.abrupt("return",e.arg)}n=v;var f=h(t,r,e);if(f.type==="normal"){n=e.done?p:l;if(f.arg===y){continue}return{value:f.arg,done:e.done}}else if(f.type==="throw"){n=p;e.method="throw";e.arg=f.arg}}}}function j(t,r){var e=t.iterator[r.method];if(e===n){r.delegate=null;if(r.method==="throw"){if(t.iterator.return){r.method="return";r.arg=n;j(t,r);if(r.method==="throw"){return y}}r.method="throw";r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=h(e,t.iterator,r.arg);if(o.type==="throw"){r.method="throw";r.arg=o.arg;r.delegate=null;return y}var i=o.arg;if(!i){r.method="throw";r.arg=new TypeError("iterator result is not an object");r.delegate=null;return y}if(i.done){r[t.resultName]=i.value;r.next=t.nextLoc;if(r.method!=="return"){r.method="next";r.arg=n}}else{return i}r.delegate=null;return y}b(E);E[c]="Generator";E[i]=function(){return this};E.toString=function(){return"[object Generator]"};function k(t){var r={tryLoc:t[0]};if(1 in t){r.catchLoc=t[1]}if(2 in t){r.finallyLoc=t[2];r.afterLoc=t[3]}this.tryEntries.push(r)}function G(t){var r=t.completion||{};r.type="normal";delete r.arg;t.completion=r}function N(t){this.tryEntries=[{tryLoc:"root"}];t.forEach(k,this);this.reset(true)}u.keys=function(t){var r=[];for(var e in t){r.push(e)}r.reverse();return function e(){while(r.length){var n=r.pop();if(n in t){e.value=n;e.done=false;return e}}e.done=true;return e}};function P(t){if(t){var r=t[i];if(r){return r.call(t)}if(typeof t.next==="function"){return t}if(!isNaN(t.length)){var o=-1,a=function r(){while(++o<t.length){if(e.call(t,o)){r.value=t[o];r.done=false;return r}}r.value=n;r.done=true;return r};return a.next=a}}return{next:F}}u.values=P;function F(){return{value:n,done:true}}N.prototype={constructor:N,reset:function(t){this.prev=0;this.next=0;this.sent=this._sent=n;this.done=false;this.delegate=null;this.method="next";this.arg=n;this.tryEntries.forEach(G);if(!t){for(var r in this){if(r.charAt(0)==="t"&&e.call(this,r)&&!isNaN(+r.slice(1))){this[r]=n}}}},stop:function(){this.done=true;var t=this.tryEntries[0];var r=t.completion;if(r.type==="throw"){throw r.arg}return this.rval},dispatchException:function(t){if(this.done){throw t}var r=this;function o(e,o){c.type="throw";c.arg=t;r.next=e;if(o){r.method="next";r.arg=n}return!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];var c=a.completion;if(a.tryLoc==="root"){return o("end")}if(a.tryLoc<=this.prev){var u=e.call(a,"catchLoc");var f=e.call(a,"finallyLoc");if(u&&f){if(this.prev<a.catchLoc){return o(a.catchLoc,true)}else if(this.prev<a.finallyLoc){return o(a.finallyLoc)}}else if(u){if(this.prev<a.catchLoc){return o(a.catchLoc,true)}}else if(f){if(this.prev<a.finallyLoc){return o(a.finallyLoc)}}else{throw new Error("try statement without catch or finally")}}}},abrupt:function(t,r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&e.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}if(i&&(t==="break"||t==="continue")&&i.tryLoc<=r&&r<=i.finallyLoc){i=null}var a=i?i.completion:{};a.type=t;a.arg=r;if(i){this.method="next";this.next=i.finallyLoc;return y}return this.complete(a)},complete:function(t,r){if(t.type==="throw"){throw t.arg}if(t.type==="break"||t.type==="continue"){this.next=t.arg}else if(t.type==="return"){this.rval=this.arg=t.arg;this.method="return";this.next="end"}else if(t.type==="normal"&&r){this.next=r}return y},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t){this.complete(e.completion,e.afterLoc);G(e);return y}}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if(n.type==="throw"){var o=n.arg;G(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){this.delegate={iterator:P(t),resultName:r,nextLoc:e};if(this.method==="next"){this.arg=n}return y}}}(function(){return this}()||Function("return this")());
//# sourceMappingURL=babel-regenerator-runtime.map.js